<?php

/**
 * Subclass for representing a row from the 'banner_item' table.
 *
 * 
 *
 * @package lib.model
 */ 
class BannerItem extends BaseBannerItem
{
    const SMALL                 = 1;
    Const BIG                   = 2;
    
    public static function getBannerTypeName($name)
    {
        switch($name)
        {
            case BannerItem::SMALL:
                return 'Banner small';
            case BannerItem::BIG:
                return 'Banner big';
        }

        return 'undefined';
    }
	public static function getTypesList()
    {
        return array(
           BannerItem::SMALL => 'small'
           , BannerItem::BIG => 'big'
        );
    }
}
